package com.example.dormitorysystem.service;

import com.example.dormitorysystem.entity.Rooms;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吉吉王国组
 * @since 2022-11-26
 */
public interface RoomsService extends IService<Rooms> {

    //传入相应的id，根据Id查询房间实体并输出信息
    public Rooms getRoomById(String id);

    public int getBedsCount(Integer roomId);

    public List<Rooms> getRoomListByBuildingId(Integer buildingId);
}
